import type { RouteRecordRaw } from 'vue-router';

// const manageZts = [], displayZts = [];
// for (let i = 1; i <= 5; i ++) {
//   manageZts.push({
//     path: 'zutai0' + i,
//     name: 'CompanyManageZutai0' + i,
//     component: () => import('@T2/views/Company/Manage/zutai/index.vue'),
//     meta: {
//       title: '管理系统--组态0' + i,
//     },
//   });
// }
const routes: Array<RouteRecordRaw> = [
  // ...manageZts,
  {
    path: 'department01',
    name: 'CManageDepartment01',
    component: () => import('@T2/views/Company/Manage/department/department01/index.vue'),
    meta: { title: '管理系统--组织管理' },
  },
  {
    path: 'role01',
    name: 'CManageRole01',
    component: () => import('@T2/views/Company/Manage/role/role01/index.vue'),
    meta: { title: '管理系统--角色管理' },
  },
  {
    path: 'iuser01',
    name: 'CManageIuser01',
    component: () => import('@T2/views/Company/Manage/iuser/iuser01/index.vue'),
    meta: { title: '管理系统--用户管理' },
  },
  {
    path: 'workbench01',
    name: 'CManageWorkbench01',
    component: () => import('@T2/views/Company/Manage/workbench/workbench01/index.vue'),
    meta: { title: '管理系统--工作台' },
  },
];

export default routes;